package t4bean;

public class FruitBean {
	private Integer id;
	private String name;
	private Integer cost;
	private Integer price;
	private Integer number;

	public FruitBean(String name, Integer cost, Integer price, Integer number) {
		this.name = name;
		this.cost = cost;
		this.price = price;
		this.number = number;
	}

	public FruitBean(String name, Integer number) {
		this.name = name;
		this.number = number;
	}

	public FruitBean() {
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getCost() {
		return cost;
	}

	public void setCost(Integer cost) {
		this.cost = cost;
	}

	public Integer getPrice() {
		return price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

}
